package net
{
	import binary.QhByteArray;
	import pool.AbstractPoolObject;
	
	/**
	 * 每个消息的封装
	 * @author gcxk721
	 */
	public class Mission extends AbstractPoolObject
	{
		
		/**
		 * 系统ID
		 */
		public var serverId:int;
		
		/**
		 * 消息头
		 */
		public var messageHead:int;
		
		/**
		 * 数据结构体
		 */
		public var bytes:QhByteArray;
		
		public function Mission()
		{
		
		}
	
		override public function released():Boolean 
		{
			serverId = 0;
			messageHead = 0;
			bytes.clear();
			bytes = null;
			return super.released();
		}
		
	}

}